﻿using BootyBay.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace BootyBay.ServerWebApp.WCFSvcs
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IAppMgmtServices" in both code and config file together.
    [ServiceContract]
    public interface IAppMgmtServices
    {
        [OperationContract]
        View_AppOptRecord4User InsertOptRecord(string userName, AppOperationType optType, int appInfoId);

        [OperationContract]
        List<View_AppOptRecord4User> GetLastOptRecordListForAllApps(string userName);

        [OperationContract]
        View_AppOptRecord4User GetLastOptRecord(string userName, int appInfoId);


    }
}
